/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package BussinesLogic;

import EntidadesCM.RolCM;
import Entities.Rol;
import controller.RolJpaController;
import controller.exceptions.NonexistentEntityException;
import controller.exceptions.PreexistingEntityException;
import java.io.Serializable;
import java.util.List;
/**
 *
 * @author Nas
 */
public class RolBL implements Serializable {


     RolJpaController rolJpaController; 
     
    public void crearRol(RolCM rolCM) throws PreexistingEntityException, Exception {

    }

    public void editarRol(RolCM rolCM) throws NonexistentEntityException, Exception {
    }

    public void eliminarRol(Integer id) throws NonexistentEntityException {

    }

    public List<RolCM> buscarAllRoles() {
        return null;
    }

    public Rol buscarRolById(Integer id) {
        return null;
    }

    
}
